import request from '@/utils/request'

export function getWarningWeek() {
  return request({
      url: '/warning/warningWeek',
      method: 'get'
  })
}

export function getWarningTypeWeek() {
  return request({
      url: '/warning/warningTypeWeek',
      method: 'get'
  })
}

export function getWarningStatus() {
  return request({
      url: '/warning/warningSataus',
      method: 'get'
  })
}

export function getWarningType() {
  return request({
      url: '/warning/warningType',
      method: 'get'
  })
}

export function getWarningBmu() {
  return request({
      url: '/warning/warningBmu',
      method: 'get'
  })
}

export function getWarningTable() {
  return request({
    url: '/warning/warnings',
    method: 'get'
  })
}
